/**
*
*	\file uart0.h
*	\author Manish Shakya 
*	\brief
*	\date  Tuesday,October 27,2009
*	\version 1.0
*
*
*/
#ifdef __UART0__
	
	void uart0_init(void);
	char uart0_put_char(char c);
	unsigned char uart0_char(void);
	void uart0_put_str(char * str);
	void uart0_put(void * ptr,uint32_t len);
	unsigned char uart0_get_char(void);
	void uart0_tx_isr(void);	//use this macro UART0_INT_SEND_BYTE to send the data through the isr function
	void uart0_rx_isr(unsigned char c);
	void uart0_error_isr(void);
	#define UART0_INT_SEND_BYTE(X)	{U0THR=(X);}
	#if UART0_DEBUG==1 
		#define TRACE_INIT() {uart0_init();}
	#endif
#endif




